package com.rp.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

@Data
public class Comments {
    @Id
    private String id;


    @Column(name = "writer_id")
    private String writerId;


    @Column(name = "father_id")
    private String fatherId;


    @Column(name = "article_id")
    private String articleId;


    @Column(name = "article_title")
    private String articleTitle;


    @Column(name = "article_cover")
    private String articleCover;


    @Column(name = "comment_user_id")
    private String commentUserId;


    @Column(name = "comment_user_nickname")
    private String commentUserNickname;

    @Column(name = "comment_user_face")
    private String commentUserFace;

    private String content;

    @Column(name = "create_time")
    private Date createTime;

}